package cn.lg.soar.system.biz.modules.auth.service;

import cn.lg.soar.database.base.service.IBaseService;
import cn.lg.soar.system.biz.modules.auth.entity.Component;
import cn.lg.soar.system.biz.modules.auth.model.ComponentBatchCreateVO;
import cn.lg.soar.system.biz.modules.auth.model.ComponentVO;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * 组件
 * @author luguoxiang
 * @since 2025-05-03
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public interface ComponentService extends IBaseService<Component> {

    List<ComponentVO> tree();

    ComponentVO detail(Long id);

    void batchCreate(List<ComponentBatchCreateVO> data) throws ExecutionException, InterruptedException;

    void clearCache();

}
